--[[ WorldFrame @FIXME ]]--
local WorldFrame = UI.NewWidgetType("WorldFrame", "Frame")
WorldFrame.parameters = {}

function WorldFrame:Initialize(o)
	local t = UI.params[o]
	assert(t)
	t.ignoreDepth = false
end

function WorldFrame.prototype:IgnoreDepth(state)
	UI.CheckWidgetType("WorldFrame:IgnoreDepth", self, "WorldFrame")
	UI.params[self].ignoreDepth = state and true or false
end

